home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / GRAPHICS / GMSMTH01.ZIP / INCLUDE / EDMAP.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-15  |  1.3 KB  |  66 lines

  1. /*
  2.    Copyright 1993, Alec Russell, ALL rights reserved
  3.  
  4.    THIS IS AN OBSOLETE FILE
  5.  
  6.    FILE : edmap.h
  7.  
  8.    HISTORY:
  9.       created :  july 7, 1993
  10.       updates :
  11.  
  12. */
  13. #ifndef DEF_EDMAP
  14. #define DEF_EDMAP 1
  15.  
  16.  
  17. // delay between flashes of the word ERASE
  18. #define FLASH_SPEED 4
  19.  
  20. #define MAX_TILES (((MAX_X - MIN_X + BORDER*2)*MAX_X_TILE) * ((MAX_Y - MIN_Y +BORDER*2)*MAX_Y_TILE))
  21. // NOTE !! these must be big enough to hold total of all types that can be placed
  22. //         only max for each sub-type is check, not overall max on map
  23.  
  24.  
  25. // pause used to control intial map scrolling speed
  26. #define SPEED 3
  27.  
  28. enum tile_kinds
  29.    {
  30.    WALL,          // 0
  31.    GRASS,         // 1
  32.    SHRUB,         // 2
  33.    BLUE_BASE,     // 3
  34.    RED_BASE,      // 4
  35.    TREE           // 5
  36.    };
  37.  
  38. #define NUM_TILE_KINDS 5
  39.  
  40. enum tile_types
  41.    {
  42.    TILE,              // 0
  43.    UNDER_DRESS,       // 1
  44.    OVER_DRESS,        // 2
  45.    ANM_PIXEL,        // 3
  46.    ANM_TILE,         // 4
  47.    UNDER_DRESS_TILE,  // 5
  48.    OVER_DRESS_TILE    // 6
  49.    };
  50.  
  51.  
  52. enum map_tasks
  53.    {
  54.    TASK_NONE,
  55.    TASK_LOAD,
  56.    TASK_SAVE,
  57.    TASK_EXIT,
  58.    TASK_SET_TILE_ATTRIBS,
  59.    TASK_SET_OBJ_ATTRIBS
  60.    };
  61.  
  62. #endif
  63.  
  64. /* ------------------------------ end of file ------------------------- */
  65.  
  66.